﻿namespace Traffic.Entity;

/// <summary>
/// 员工表
/// </summary>
public partial class Emp
{
    public int Id { get; set; }

    /// <summary>
    /// 部门ID
    /// </summary>
    public int DepId { get; set; }

    /// <summary>
    /// 员工姓名
    /// </summary>
    public string EmpName { get; set; } = null!;

    /// <summary>
    /// 后台账号
    /// </summary>
    public string? UserName { get; set; }

    public string? Password { get; set; }

    /// <summary>
    /// 员工年龄
    /// </summary>
    public int? Age { get; set; }

    /// <summary>
    /// 联系电话
    /// </summary>
    public string? Mobile { get; set; }

    /// <summary>
    /// 身份证号码
    /// </summary>
    public string? CardId { get; set; }

    public string? WxOpenId { get; set; }

    /// <summary>
    /// 现居住地址
    /// </summary>
    public string? Address { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreateDate { get; set; }

    /// <summary>
    /// Token验证
    /// </summary>
    public string? Token { get; set; }

    /// <summary>
    /// 更新人
    /// </summary>
    public int UpdateEmpId { get; set; }

    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime UpdateDate { get; set; }

    /// <summary>
    /// 状态：1 正常  0 作废
    /// </summary>
    public bool Status { get; set; }
}
